#jinja2: trim_blocks: False
app:
  name: jingweiprinter
  org: stxx
logging:
  level: debug
  verbose: false
  qt_log_enable: false
web:
  host: "0.0.0.0"
  port: 5890
  route_prefix: /
  data_process_threads: 9
  io_threads: 2
  timer_threads: 1
qgis:
  force_event: false
  enable_3d: true
  default_distance: 1000.0
  gui_enabled: false
  prefix_path: "/usr"
  projects_prefix: "/opt/anbao/qgz"
  projects_temp_prefix: "{PROJECTS_PREFIX}/temp"
  icon_prefix: "/opt/anbao/qgz"
  jingwei_server_host: "{{ '127.0.0.1' if is_host_deploy else main_ip }}"
  jingwei_server_port: "{{ expose_backend_port }}"
  jingwei_server_api_prefix: "/api"
  jingwei_server_url: "http://{JINGWEI_SERVER_HOST}:{JINGWEI_SERVER_PORT}{JINGWEI_SERVER_API_PREFIX}"
  layout_dir: "/opt/anbao/qgz/layout"
  map_base_url: "http://{{ '127.0.0.1' if is_host_deploy else main_ip }}:{{ '8080' if is_host_deploy else expose_frontend_http_port }}"
  map_base_prefix: "type=xyz&url={MAP_BASE_URL}"
  map_base_suffix: "/map/lx/{z}/{x}/{y}.png&zmax={BASE_TILE_LAYER_MAX_LEVEL}&zmin={BASE_TILE_LAYER_MIN_LEVEL}"
  base_tile_layer_max_level: 17
  base_tile_layer_min_level: 0
  map_main_base_url: "http://{{ '127.0.0.1' if is_host_deploy else main_ip }}:{{ '8080' if is_host_deploy else expose_frontend_http_port }}"
  map_main_prefix: "type=xyz&url={MAP_MAIN_BASE_URL}"
  map_main_middle: "/map/orthogonal/{ORTHOGONAL_PATH_NAME}"
  map_main_suffix: "/{z}/{x}/{y}.png"
  map_3d_base_url: "url={MAP_MAIN_BASE_URL}/map/realistic3d/{REALISTIC3D_PATH_NAME}/tileset.json&http-header:referer="
  export_prefix: "/opt/anbao/qgz"
  mapping_export_nginx_host: "{{ '127.0.0.1' if is_host_deploy else main_ip }}"
  mapping_export_nginx_port: "{{ expose_frontend_http_port }}"
  mapping_export_nginx_url_prefix: "http://{MAPPING_EXPORT_NGINX_HOST}:{MAPPING_EXPORT_NGINX_PORT}/qgz"
  export_png_enable: true
  export_pdf_enable: false
  export_svg_enable: false
  filter_remove_3d_base: true
  canvas3d_type: "camera"
  max_screen_error: 300
  max_pitch_angle: 103
  offset_pull_pitch: 11
  default_ground_altitude: 85
  pitch_negate_threshold: 45.0
  sync_wait_time_second: 120000
  enable_point_altitude: false
  enable_point_cluster: false
specification:
  - name: "现场位置图"
    local: "local"
    title_font_family: "黑体"
    title_font_color: "#000000"
    title_font_size: 30
    title_is_bold: true
    title_is_italic: false
    title_orientation: "Horizontal"
    title_letter_spacing: 1.5
    title_from_main_bottom_margin: 10
    main_height: 297
    main_width: 420
    main_dpi: 300
    main_border_size: 1
    main_border_color: "#000000"
    main_double_frame: false
    main_left_margin: 22
    main_top_margin: 30
    main_right_margin: 18
    main_bottom_margin: 22
    main_double_frame_fill_color: "#ffffff"
    legend_title: "图例"
    legend_title_font_family: "黑体"
    legend_title_font_color: "#000000"
    legend_title_font_size: 9
    legend_title_letter_spacing: 0.0
    legend_title_spacing_below: 3.5
    legend_spacing_groups_above: 3.00
    legend_spacing_groups_indent: 0.00
    legend_frame_color: "#000000"
    legend_group_headings_font_family: "SimSun"
    legend_group_headings_font_size: 14
    legend_group_headings_font_color: "#000000"
    legend_group_headings_letter_spacing: 0.0
    legend_group_headings_spacing_below_heading: 0.00
    legend_group_headings_spacing_sideof_heading: 0.0
    legend_subgroup_headings_font_family: "SimSun"
    legend_subgroup_headings_font_size: 12
    legend_subgroup_headings_font_color: "#000000"
    legend_subgroup_headings_letter_spacing: 0.0
    legend_subgroup_spacing_above: 3.00
    legend_subgroup_spacing_indent: 0.00
    legend_subgroup_heading_below: 0.00
    legend_subgroup_heading_sideof_heading: 0.00
    legend_items_font_family: "SimSun"
    legend_items_font_size: 12
    legend_items_font_color: "#000000"
    legend_items_letter_spacing: 0.0
    legend_items_space_before_sideof_symbol: 0.00
    legend_items_between_symbol: 2.50
    legend_items_label_space: 2.00
    legend_general_box_space: 2.00
    legend_general_column_space: 2.00
    legend_content_font_family: "SimSun"
    legend_content_font_color: "#000000"
    legend_content_font_size: 6
    left_seam_seal_family: "黑体"
    left_seam_seal_font_color: "#000000"
    left_seam_seal_font_size: 14
    left_seam_seal_from_topborder_top_margin: 5
    left_seam_seal_from_leftborder_right_margin: 5
    left_seam_seal_horizontal_alignment: "center"
    left_seam_seal_vertical_alignment: "center"
    left_seam_seal_text_orientation: "Vertical"
    left_seam_seal_letter_spacing: 3.0
    right_seam_seal_family: "黑体"
    right_seam_seal_font_color: "#000000"
    right_seam_seal_font_size: 14
    right_seam_seal_from_topborder_top_margin: 5
    right_seam_seal_from_rightborder_left_margin: 5
    right_seam_seal_horizontal_alignment: "center"
    right_seam_seal_vertical_alignment: "center"
    right_seam_seal_text_orientation: "Vertical"
    right_seam_seal_letter_spacing: 3.0
    signature_family: "黑体"
    signature_font_color: "#000000"
    signature_font_size: 12
    signature_letter_spacing: 3.0
    signature_from_bottomborder_top_margin: 5
    signature_from_rightborder_right_margin: 5
    commander_family: "黑体"
    commander_font_color: "#000000"
    commander_font_size: 8
    remark_font_family: "SimSun"
    remark_font_color: "#000000"
    remark_font_size: 12
    remark_is_bold: false
    remark_is_italic: false
    remark_bg_color: "#ffffff"
    remark_bg_frame_color: "#000000"
    remark_orientation: "Horizontal"
    remark_letter_spacing: 1.5
    north_base64: ""
    north_rotate: 0.0
    north_width: 20
    north_height: 20
    north_arrow_path: "share/qgis/svg/arrows/NorthArrow_02.svg"
    north_arrow_color: "#f30101"
    sky_color_3d_layout: "#b1e1f8"
  - name: "警力部署图"
    local: "deploy"
    title_font_family: "SimSun"
    title_font_color: "#000000"
    title_font_size: 30
    title_is_bold: true
    title_is_italic: false
    title_orientation: "Horizontal"
    title_letter_spacing: 1.5
    title_from_main_bottom_margin: 10
    main_height: 297
    main_width: 420
    main_dpi: 300
    main_border_size: 1
    main_border_color: "#000000"
    main_double_frame: false
    main_left_margin: 22
    main_top_margin: 30
    main_right_margin: 18
    main_bottom_margin: 22
    main_double_frame_fill_color: "#ffffff"
    legend_title: "图例"
    legend_title_font_family: "黑体"
    legend_title_font_color: "#000000"
    legend_title_font_size: 9
    legend_title_letter_spacing: 0.0
    legend_title_spacing_below: 3.5
    legend_spacing_groups_above: 3.00
    legend_spacing_groups_indent: 0.00
    legend_frame_color: "#000000"
    legend_group_headings_font_family: "SimSun"
    legend_group_headings_font_size: 14
    legend_group_headings_font_color: "#000000"
    legend_group_headings_letter_spacing: 0.0
    legend_group_headings_spacing_below_heading: 0.00
    legend_group_headings_spacing_sideof_heading: 0.0
    legend_subgroup_headings_font_family: "SimSun"
    legend_subgroup_headings_font_size: 12
    legend_subgroup_headings_font_color: "#000000"
    legend_subgroup_headings_letter_spacing: 0.0
    legend_subgroup_spacing_above: 3.00
    legend_subgroup_spacing_indent: 0.00
    legend_subgroup_heading_below: 0.00
    legend_subgroup_heading_sideof_heading: 0.00
    legend_items_font_family: "SimSun"
    legend_items_font_size: 12
    legend_items_font_color: "#000000"
    legend_items_letter_spacing: 0.0
    legend_items_space_before_sideof_symbol: 0.00
    legend_items_between_symbol: 2.50
    legend_items_label_space: 2.00
    legend_general_box_space: 2.00
    legend_general_column_space: 2.00
    legend_content_font_family: "SimSun"
    legend_content_font_color: "#000000"
    legend_content_font_size: 6
    left_seam_seal_family: "黑体"
    left_seam_seal_font_color: "#000000"
    left_seam_seal_font_size: 14
    left_seam_seal_from_topborder_top_margin: 5
    left_seam_seal_from_leftborder_right_margin: 5
    left_seam_seal_horizontal_alignment: "center"
    left_seam_seal_vertical_alignment: "center"
    left_seam_seal_text_orientation: "Vertical"
    left_seam_seal_letter_spacing: 3.0
    right_seam_seal_family: "黑体"
    right_seam_seal_font_color: "#000000"
    right_seam_seal_font_size: 14
    right_seam_seal_from_topborder_top_margin: 5
    right_seam_seal_from_rightborder_left_margin: 5
    right_seam_seal_horizontal_alignment: "center"
    right_seam_seal_vertical_alignment: "center"
    right_seam_seal_text_orientation: "Vertical"
    right_seam_seal_letter_spacing: 3.0
    signature_family: "黑体"
    signature_font_color: "#000000"
    signature_font_size: 12
    signature_letter_spacing: 3.0
    signature_from_bottomborder_top_margin: 5
    signature_from_rightborder_right_margin: 5
    commander_family: "黑体"
    commander_font_color: "#000000"
    commander_font_size: 8
    remark_font_family: "SimSun"
    remark_font_color: "#000000"
    remark_font_size: 6
    remark_is_bold: false
    remark_is_italic: false
    remark_bg_color: "#ffffff"
    remark_bg_frame_color: "#000000"
    remark_orientation: "Horizontal"
    remark_letter_spacing: 1.5
    north_base64: ""
    north_rotate: 0.0
    north_width: 20
    north_height: 20
    north_arrow_path: "share/qgis/svg/arrows/NorthArrow_02.svg"
    north_arrow_color: "#f30101"
    sky_color_3d_layout: "#b1e1f8"
  - name: "紧急疏散图"
    local: "evacuation"
    title_font_family: "SimSun"
    title_font_color: "#000000"
    title_font_size: 30
    title_is_bold: True
    title_is_italic: False
    title_orientation: "Horizontal"
    title_letter_spacing: 1.5
    title_from_main_bottom_margin: 10
    main_height: 297
    main_width: 420
    main_dpi: 300
    main_border_size: 1
    main_border_color: "#000000"
    main_double_frame: False
    main_left_margin: 22
    main_top_margin: 30
    main_right_margin: 18
    main_bottom_margin: 22
    main_double_frame_fill_color: "#ffffff"
    legend_title: "图例"
    legend_title_font_family: "黑体"
    legend_title_font_color: "#000000"
    legend_title_font_size: 9
    legend_title_letter_spacing: 0.0
    legend_title_spacing_below: 3.5
    legend_spacing_groups_above: 3.00
    legend_spacing_groups_indent: 0.00
    legend_frame_color: "#000000"
    legend_group_headings_font_family: "SimSun"
    legend_group_headings_font_size: 14
    legend_group_headings_font_color: "#000000"
    legend_group_headings_letter_spacing: 0.0
    legend_group_headings_spacing_below_heading: 0.00
    legend_group_headings_spacing_sideof_heading: 0.0
    legend_subgroup_headings_font_family: "SimSun"
    legend_subgroup_headings_font_size: 12
    legend_subgroup_headings_font_color: "#000000"
    legend_subgroup_headings_letter_spacing: 0.0
    legend_subgroup_spacing_above: 3.00
    legend_subgroup_spacing_indent: 0.00
    legend_subgroup_heading_below: 0.00
    legend_subgroup_heading_sideof_heading: 0.00
    legend_items_font_family: "SimSun"
    legend_items_font_size: 12
    legend_items_font_color: "#000000"
    legend_items_letter_spacing: 0.0
    legend_items_space_before_sideof_symbol: 0.00
    legend_items_between_symbol: 2.50
    legend_items_label_space: 2.00
    legend_general_box_space: 2.00
    legend_general_column_space: 2.00
    legend_content_font_family: "SimSun"
    legend_content_font_color: "#000000"
    legend_content_font_size: 6
    left_seam_seal_family: "黑体"
    left_seam_seal_font_color: "#000000"
    left_seam_seal_font_size: 14
    left_seam_seal_from_topborder_top_margin: 5
    left_seam_seal_from_leftborder_right_margin: 5
    left_seam_seal_horizontal_alignment: "center"
    left_seam_seal_vertical_alignment: "center"
    left_seam_seal_text_orientation: "Vertical"
    left_seam_seal_letter_spacing: 3.0
    right_seam_seal_family: "黑体"
    right_seam_seal_font_color: "#000000"
    right_seam_seal_font_size: 14
    right_seam_seal_from_topborder_top_margin: 5
    right_seam_seal_from_rightborder_left_margin: 5
    right_seam_seal_horizontal_alignment: "center"
    right_seam_seal_vertical_alignment: "center"
    right_seam_seal_text_orientation: "Vertical"
    right_seam_seal_letter_spacing: 3.0
    signature_family: "黑体"
    signature_font_color: "#000000"
    signature_font_size: 12
    signature_letter_spacing: 3.0
    signature_from_bottomborder_top_margin: 5
    signature_from_rightborder_right_margin: 5
    commander_family: "黑体"
    commander_font_color: "#000000"
    commander_font_size: 8
    remark_font_family: "SimSun"
    remark_font_color: "#000000"
    remark_font_size: 6
    remark_is_bold: False
    remark_is_italic: False
    remark_bg_color: "#ffffff"
    remark_bg_frame_color: "#000000"
    remark_orientation: "Horizontal"
    remark_letter_spacing: 1.5
    north_base64: ""
    north_rotate: 0.0
    north_width: 20
    north_height: 20
    north_arrow_path: "share/qgis/svg/arrows/NorthArrow_02.svg"
    north_arrow_color: "#f30101"
    sky_color_3d_layout: "#b1e1f8"
